/*
 * Copyright 2021-2030 itbox.com All right reserved. This software is the confidential and proprietary information
 * of itbox.com ("Confidential Information"). You shall not disclose such Confidential Information and shall use it
 * only in accordance with the terms of the license agreement you entered into with itbox.com.
 */
package cn.itbox.example.model.response;

import cn.itbox.uap.domain.model.BaseDTO;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
 * @BelongProject springboot-study
 * @BelongPackage cn.itbox.example.application.model.dto
 * @Description TODO
 * @ClassName UserPageDTO
 * @Author xingc
 * @Date 2023/11/27 10:01
 * @Version 1.0.0
 */
@Setter
@Getter
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
public class UserResponse extends BaseDTO {
    /**
     * 用户名称
     */
    private String userName;

    /**
     * 真实名称
     */
    private String realName;

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String county;

    /**
     * 单位
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long unitId;

    /**
     * 单位名称
     */
    private String unitName;
}
